package com.zzb.projectfactory.framework.event.entity;

import com.zzb.projectfactory.framework.autodoc.annotation.AutoDocField;
import com.zzb.projectfactory.framework.common.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
* 事件通知方法 实体类
*/
@Table(name = "sys_event_notify")
@Entity
public class SysEventNotify extends BaseEntity {
    @Column(name = "event_id")
    @AutoDocField(value = "事件id")
    private String eventId; //事件id
    @Column(name = "execute_spring_id")
    @AutoDocField(value = "springBean的id")
    private String executeSpringId; //springBean的id
    @Column(name = "execute_order")
    @AutoDocField(value = "调用顺序，正序")
    private Integer executeOrder; //调用顺序，正序

    /*----------------------get set 方法----------------------*/
    public String getEventId() {return eventId;}
    public void setEventId(String eventId){this.eventId = eventId == null ? null : eventId.trim();}
    public String getExecuteSpringId() {return executeSpringId;}
    public void setExecuteSpringId(String executeSpringId){this.executeSpringId = executeSpringId == null ? null : executeSpringId.trim();}
    public Integer getExecuteOrder() {return executeOrder;}
    public void setExecuteOrder(Integer executeOrder){this.executeOrder = executeOrder;}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysEventNotify{" +
        "id='" + getId() + '\'' + ',' + 
        "eventId='" + getEventId() + '\'' + ',' + 
        "executeSpringId='" + getExecuteSpringId() + '\'' + ',' + 
        "executeOrder='" + getExecuteOrder() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
